package com.xintonghua.bussiness.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：wanxianyi
 * 时间：2018/3/31.
 * 包名：com.xintonghua.bussiness.bean
 */

public class StoreBean implements Parcelable {

    private String start_time;
    private String imgs;
    private String address;
    private String phone;
    private String name;
    private String end_time;
    private int id;
    private int type;
    private String shopimg;

    public String getShopimg() {
        return shopimg;
    }

    public void setShopimg(String shopimg) {
        this.shopimg = shopimg;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.start_time);
        dest.writeString(this.imgs);
        dest.writeString(this.address);
        dest.writeString(this.phone);
        dest.writeString(this.name);
        dest.writeString(this.end_time);
        dest.writeInt(this.id);
        dest.writeInt(this.type);
    }

    public StoreBean() {
    }

    protected StoreBean(Parcel in) {
        this.start_time = in.readString();
        this.imgs = in.readString();
        this.address = in.readString();
        this.phone = in.readString();
        this.name = in.readString();
        this.end_time = in.readString();
        this.id = in.readInt();
        this.type = in.readInt();
    }

    public static final Parcelable.Creator<StoreBean> CREATOR = new Parcelable.Creator<StoreBean>() {
        @Override
        public StoreBean createFromParcel(Parcel source) {
            return new StoreBean(source);
        }

        @Override
        public StoreBean[] newArray(int size) {
            return new StoreBean[size];
        }
    };
}
